//
//  HDAnnotationView.h
//  HDMapKit
//
//  Created by Liuzhuan on 13-4-8.
//  Copyright (c) 2013年 hengdawb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HDAnnotation.h"
#import "HD_NKM_MapView.h"


@interface HDAnnotationView : UIButton {
    // 用于控制跳动动画的两个变量
    BOOL      upOrdown; 
    NSInteger num;
}

@property (nonatomic, strong) HDAnnotation *annotation;
@property (nonatomic, strong) NSTimer      *timer;
@property (nonatomic, assign) BOOL         isAnimating;
@property (nonatomic, assign) BOOL         isBig; // 图片是否放大显示


- (instancetype)initWithAnnotation:(HDAnnotation *)annotation
                            onView:(HD_NKM_MapView *)mapView
                          animated:(BOOL)animate;

- (void)bigPicture;   // POI变大动画
- (void)smallPicture; // POI变小
- (void)locationChangeCenter:(CGPoint)point; // 连续定位的点位置改变

- (void)changePOIImageWithPath:(NSString *)imgPath;
- (void)stopAnimate;
- (void)popJumpAnimationView:(UIView *)sender;

@end




